<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="./Tpl/css/bootstrap.min.css">
	<style type="text/css">
		#zhengtijuz{
			width: 1470px;

			margin: 0 auto;
			margin-top: 100px;
		}
		.zhuti{
			margin: 0 auto;
			margin-top: 100px;
			width: 1470px;
			height: 300px;
		}
		body #zhutixia{
			margin: 0 auto;
	
			width: 1470px;
			height: 100%;
			
		}
		.tex{
			width: 100%;
			height: 100%;
			margin-top: 20px;
		}
		.form-inline .tex .content{
			width: 100%;
			padding-top: 20px;
		}
	</style>
</head>
<body>

	<nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">留言板</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
          </ul>
        </div><!--/.nav-collapse -->
      </div>
    </nav>
<div id="zhengtijuz">
   
    <div class="zhutixia">
      	<form class="form-inline" method="post" action="./save.php?id=<?php echo $id ?>">
		  	<div class="form-group">
		    	<label for="exampleInputName2">用户名</label>
		    	<input type="text" class="form-control" name="username" id="exampleInputName2" placeholder="Jane Doe" value="<?php echo $row['username'] ?>">
		  	</div>
		  
		  	<button type="submit" class="btn btn-info">修改</button>
		  	<div class="tex">
		  		<textarea class="form-control content" name="content" rows="3"><?php echo $row['content'] ?></textarea>
		  		<!-- <input type="hidden" name="id" value="<?php echo $id ?>"> -->
		  	</div>
		</form>
    </div>
</div>	
</body>
</html>